package com.epam.OOP.cargo;

import java.util.Set;
import java.util.TreeSet;

/**
 * Created with IntelliJ IDEA.
 * User: Yelena_M
 * Date: 05.08.13
 * Time: 0:17
 * To change this template use File | Settings | File Templates.
 */
public class CargoSorter {

    private static Set<Cargo> listCargo = new TreeSet<Cargo>();

    public static Set<Cargo> sort(Cargo cargo){
        listCargo.add(cargo);
        return listCargo;
    }
}
